/* Copyright (c) 1992 - Rick A. Vander Kam - All rights reserved */
Description of the Cubicnl Unit Generator.
This unit generator implements a nonlinear, cubic polynomial filter section in direct form. It has a variable hard clipping threshold level. If x is the input and y the output, we have
y = aa1*x + aa2*x^2 + aa3*x^3. If the absolute value of y is greater than the clipping threshold, then the output is clipped to the threshold level.
METHODS
=========
- setOutput:aPatchPoint
Used to connect the unit generator's output to aPatchPoint
-setInput:aPatchPoint
Used to connect the unit generator's input to aPatchPoint
- setAa1:aDouble
Used to set the aa1 coefficient to aDouble (-1.0 to 0.999999)
- setAa2:aDouble
Used to set the aa1 coefficient to aDouble (-1.0 to 0.999999)
- setAa3:aDouble
Used to set the aa1 coefficient to aDouble (-1.0 to 0.999999)
- setThr:aDouble
Used to set the clipping threshold to aDouble (0.0 to 0.999999)